﻿using System;
using System.Collections.Generic;

using System.Text;
using CookComputing.XmlRpc;

namespace subdump
{
  
    [XmlRpcUrl("http://www.opensubtitles.org/xml-rpc")]
    public interface IOpenSubtitle : IXmlRpcProxy
    {
        [XmlRpcMethod("SearchSubtitles")]
        XmlRpcStruct searchSubtitles(string token, XmlRpcStruct [] xmlrpcstructs);

        [XmlRpcMethod("ServerInfo")]
        XmlRpcStruct serverInfo();

        [XmlRpcMethod("CheckMovieHash")] 
        XmlRpcStruct checkMovieHash(string token, string [] hashes);
    }
}